#include<stdio.h>

typedef struct Node{
    int value;
    Node *next;
}Node;

callback_function(Node * node){
    printf("%d",node->value);
}

void bianli(Node *current ,void (*callback)(Node *)){
    while(current != NULL){
        callback(current);
        current = current->next;
    }
}

int main(){
    Node *node;
    bianli(node,callback_function);
}